import fetch from 'utils/fetch';
// 产品配置分页
export function page(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/product/page',
        method: 'post',
        data: obj
    });
}
// 准贷等级下拉
export function getDropDownBox(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/loanLevelController/getDropDownBox',
        method: 'post',
        data: obj
    });
}
// 启用/禁用
export function updateStatus(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/product/updateStatus',
        method: 'post',
        data: obj
    });
}
// 添加产品
export function saveOrUpdate(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/product/saveOrUpdate',
        method: 'post',
        data: obj
    });
}
// 删除产品
export function deleteByProductId(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/product/deleteByProductId',
        method: 'post',
        data: obj
    });
}
// 放款方式下拉
export function getMsgInfoByType(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/laonMsgInfo/getMsgInfoByType',
        method: 'post',
        data: obj
    });
}